//
//  NovelAlbumNextViewController.m
//  A_program
//
//  Created by dlios on 15-5-25.
//  Copyright (c) 2015年 BayMax. All rights reserved.
//

#import "NovelAlbumNextViewController.h"
#import "NovelAlbumHeaderModel.h"
#import "NovelAlbumNextView.h"
@interface NovelAlbumNextViewController ()

@end

@implementation NovelAlbumNextViewController
- (void)dealloc
{
    [super dealloc];
}
- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        self.albumNextModel = [[NovelAlbumHeaderModel alloc]init];
    }
    return self;
}
- (void)loadView{
    [super loadView];
    [self createAlbumNextView];
}
- (void)createAlbumNextView{
    NovelAlbumNextView *nextView = [[NovelAlbumNextView alloc]initWithFrame:CGRectMake(10, 10, [UIScreen mainScreen].bounds.size.width - 20, 100)];
    [nextView setBackgroundColor:[UIColor yellowColor]];
    [self.view addSubview:nextView];
    [nextView createStrHeigh:self.albumNextModel];
    [nextView setFrame:CGRectMake(10, 10,  [UIScreen mainScreen].bounds.size.width - 20, nextView.introLableText.frame.size.height+45)];
    [nextView release];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
